import java.util.Scanner;
public class Test01_compare{
    public static void main(String[] args){
        //获取键盘输入值
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        /*if(a%3!=0||a%5==0){
            System.out.println("true");
        }
        if(a%3==0||a%5==0){
            System.out.println("false");
        }
        if(b%3==0||b%5!=0){
            System.out.println("true");
        }
        if(b%3==0||b%5==0){
            System.out.println("fasle");
        }*/
       String s1=(a>b)?"a="+a:"b="+b;
       String s2=(a<b)?"a="+a:"b="+b;
       System.out.println(s1+"是最大值");
       System.out.println(s2+"是最小值");




    }
}